<template>
    <div v-show="title===this.$parent.activeTab">
      <slot></slot>
    </div>
</template>

<script>
  export default {
    props: {
      title: {
        type: String,
        default: 'tab title'
      },
    },
  }
</script>

<style scoped>

</style>
